package com.bwhx.eruler.dao.casdilly.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.bwhx.eruler.bean.casdilly.CasdillyScanData;
import com.bwhx.eruler.dao.casdilly.CasdillyScanDataDAO;
import com.bwhx.eruler.dao.impl.BaseDaoImpl;

@Repository
public class CasdillyScanDataDAOImpl extends BaseDaoImpl<CasdillyScanData> implements CasdillyScanDataDAO {

	public CasdillyScanDataDAOImpl() {
		this.setNs("com.bwhx.eruler.mapper.casdilly.CasdillyScanDataMapper.");
	}

	@Override
	public void insert(List<CasdillyScanData> cScanDataList) {
		this.getSqlSession().insert(this.getNs() + "insert", cScanDataList);

	}

	@Override
	public void del(String customerID) {
		this.getSqlSession().delete(this.getNs() + "del", customerID);

	}

	@Override
	public List<CasdillyScanData> getScanDataTotole(CasdillyScanData scanData) {
		return this.getSqlSession().selectList(getNs()+"getScanDataTotole", scanData);
	}

}
